package com.klun.concDesign.chapterFive.NIO;

import java.nio.ByteBuffer;
import java.util.LinkedList;

public class EchoClient {
    private LinkedList<ByteBuffer> outq;

    public EchoClient() {
        this.outq = new LinkedList<ByteBuffer>();
    }
    public LinkedList<ByteBuffer>  getOutPutQueue(){
        return outq;
    }

    public void enqueue(ByteBuffer bb){
        outq.addFirst(bb);
    }
}
